X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=blobdiff_plain;f=includes%2Flibs%2Frdbms%2Fexception%2FDBError.php;h=2f7499bc6443a3c1c50f528860b8642c5c229acd;hb=78b78644fb69a28f5719de7aa6f0215c6a17b715;hp=d65e2d36bd000fa82c14fe8981f5ede027e13ee9;hpb=91b86399b1ea8fa51750f7cd836651993f23ff9a;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/libs/rdbms/exception/DBError.php b/includes/libs/rdbms/exception/DBError.php index d65e2d36bd..2f7499bc64 100644 --- a/includes/libs/rdbms/exception/DBError.php +++ b/includes/libs/rdbms/exception/DBError.php @@ -36,7 +36,7 @@ class DBError extends Exception { * @param IDatabase $db Object which threw the error * @param string $error A simple error message to be used for debugging */ - function __construct( IDatabase $db = null, $error ) { + public function __construct( IDatabase $db = null, $error ) { $this->db = $db; parent::__construct( $error ); }